import request from '@/utils/request'

// 订单列表
export const getRoleList = (data) => request({ url: '/admin/quanxianlist', method: 'post', data })
// 新增用户
export const addRole = (data) => request({ url: '/admin/quanxianadd', method: 'post', data })
// 修改用户
export const updateRole = (data) => request({ url: '/admin/quanxianupdate', method: 'post', data })
// 删除用户
export const deleteRole = (data) => request({ url: '/admin/quanxiandel', method: 'post', data })